adTempus API
PreviousUpNext
ISecurityDescriptor::RemoveAceForName Method

Removes the ACE for the entity with the specified name

C++
HRESULT RemoveAceForName(BSTR name, long flags);
C#
RemoveAceForName(String name, long flags);
Visual Basic
Sub RemoveAceForName(name As String, flags As long)
Parameters 
Description 
[in] BSTR name 
The name of the entity. See GetAceForName for naming examples. 

If the name cannot be resolved the method fails with error ADT_E_NOT_FOUND. 

If the descriptor does not have an ACE for the name, the function succeeds with return S_FALSE.

adTempus API Reference version 3.0.0.0, revised 10/30/2008